home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / comm / www / JavaSRand.readme < prev    next >
Text File  |  2001-01-02  |  3KB  |  65 lines

  1. Short:    JavaScript random routines on HTMLpage Aweb+IBrowse comp
  2. Author:   mark@kontumnam.freeserve.co.uk (Mark Weller)
  3. Uploader: mark@kontumnam.freeserve.co.uk (Mark Weller)
  4. Type:     comm/www
  5. Url:      www.kontumnam.freeserve.co.uk
  6.  
  7. JavaSDate.html
  8. --------------
  9.  
  10. I was sent a JavaScript routine to do Random text,images + urls
  11.  the random routine can be applied to many useful things.
  12.  
  13.  I have included three example that can be changed and adapted
  14.   very easily.
  15.  
  16.  (remember to to press the reload button in the browser to see
  17.    the random effect).
  18.  
  19.  random.html    - shows some text and numbers random.
  20.  
  21.  randimage.html - shows five dice images random - you could easily
  22.                   change this into a yahtzee game or replace images
  23.                   with playing cards. If you have buttons on your
  24.                   web page to select different pages, have the
  25.                   buttons random - each time the user visits your
  26.                   site. - endless uses.
  27.  
  28.  randbard.html  - I have converted a classic 'c' (unix) program
  29.                   called Bard which is a good example of random
  30.                   text - very funny. (I have included the 'c'
  31.                   source).
  32.  
  33.  I have included the source on the web page inside a form text
  34.   which you can cut and paste or if your browser is set up
  35.   click the edit button. for some reason AwebII 3.3 strips the
  36.   html tags but Ibrowse 2.x does not. these routines have not
  37.   been tested in Voyager 3.x.
  38.  
  39.   E-mail me if you find this usefull.
  40.     if not sorry for wasting your time.
  41.   mark weller - e-mail: mark@kontumnam.freeserve.co.uk
  42.                         www.kontumnam.freeserve.co.uk
  43.  
  44.                               -------*------
  45.  
  46.  
  47.  
  48. ============================= Archive contents =============================
  49.  
  50. Original  Packed Ratio    Date     Time    Name
  51. -------- ------- ----- --------- --------  -------------
  52.     1636     854 47.7% 21-Dec-00 14:18:58  random.info
  53.      853     853  0.0% 13-Dec-00 14:10:08 +dice1.gif
  54.      857     857  0.0% 13-Dec-00 14:10:34 +dice2.gif
  55.      856     856  0.0% 13-Dec-00 14:11:06 +dice3.gif
  56.      859     859  0.0% 13-Dec-00 14:11:28 +dice4.gif
  57.      865     865  0.0% 13-Dec-00 14:12:00 +dice5.gif
  58.      859     859  0.0% 13-Dec-00 14:13:32 +dice6.gif
  59.     1720     771 55.1% 21-Dec-00 14:18:06 +JavaSRand.readme
  60.    17891    3470 80.6% 18-Dec-00 16:10:08 +randbard.html
  61.     4927     742 84.9% 13-Dec-00 14:46:16 +randimage.html
  62.     3128     682 78.1% 08-Dec-00 05:45:12 +random.html
  63. -------- ------- ----- --------- --------
  64.    34451   11668 66.1% 22-Dec-100 03:13:04   11 files
  65.